"use strict";
const user = {
  name: "向军",
  age: 18
};
let desc = Object.getOwnPropertyDescriptor(user, "name");
console.log(JSON.stringify(desc, null, 2));

console.log(Object.getOwnPropertyDescriptor (user, 'dd'))
console.log(Object.getOwnPropertyDescriptors(user))
